package main


import (
    "fmt"
)

// 指数增长扩容
func main(){
    s6 := make([]int, 0)
    fmt.Printf("The capacity of s6: %d \n", cap(s6))
    for i := 1; i <= 129; i++ {
        s6 = append(s6, i)
        fmt.Printf("s6(%d): len: %d, cap: %d \n", i, len(s6), cap(s6))
    }
    fmt.Println()
}

